package com.synergy.stockflow.production.service.impl;

import com.synergy.stockflow.production.create.MrdOrMVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.synergy.stockflow.production.entity.MaterialRequisitionDetail;
import com.synergy.stockflow.production.mapper.MaterialRequisitionDetailMapper;
import com.synergy.stockflow.production.service.MaterialRequisitionDetailService;
@Service
public class MaterialRequisitionDetailServiceImpl extends ServiceImpl<MaterialRequisitionDetailMapper, MaterialRequisitionDetail> implements MaterialRequisitionDetailService{

    @Override
   public List<MrdOrMVo> selectByCode(String requisitionCode){
        return baseMapper.selectByCode(requisitionCode);
    }


    @Override
    public int deleteByRequisitionId(String requisitionId){
        return baseMapper.deleteByRequisitionId(requisitionId);
    }
}
